package com.itheima.service;

import com.itheima.pojo.Member;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.ExportInfo;
import com.itheima.pojo.Setmeal;
import com.itheima.pojo.User;

import java.util.List;
import java.util.Map;

public interface MemberService {
    //根据手机号查询会员
    public Member findByTelephone(String telephone);
    public void add(Member member);
    public List<Integer> findMemberCountByMonths(List<String> months);
    PageResult findPage(QueryPageBean queryPageBean);

    List<Member> findUserNameList();

    Member findById(Integer id);


    String delete(Integer id);

    List<ExportInfo> getMemberInfoData(List<Integer> list) throws Exception;

    void editXXF(Member member);
    //修改完善用户信息
    void edit(Member member);

    //根据输入时间查询
    List<Setmeal> findByDateAndId(String date1, String date2, Integer id);

    void updateMember(Member member);

    Member findByTelAndPassword(Map map);



    /*
     * author:苏林
    */

    //完善用户信息
    void editMemberInfo(Member member);

    //根据输入时间查询
    List<Map<String, String>> findByDateAndTelephone(String startDate, String endDate, String telephone);

    //查询预约详细信息
    Map<String,String> findDetail(Integer orderId);

    //查询所有
    List<Map<String, String>> findAll(String telephone);
}
